<?php
/**
 * Created by : PhpStorm
 * User: godjarvis
 * Date: 2020/8/10
 * Time: 10:07
 */

namespace App\Http\FeignClient;


use Fresh\Annotation\RequestMapping;
use Fresh\Extension\MicroService\Feign\FeignClient;
use Fresh\Extension\MicroService\Feign\FeignClientInterface;

/**
 * @FeignClient(value="common")
 */
interface CommonFeignClient extends FeignClientInterface
{
    /**
     * @RequestMapping(value="/upload/image", method="POST")
     */
    public function uploadImage($file, $name);

    /**
     * @RequestMapping(value="/upload/image/base64",method="POST")
     */
    public function uploadImageBase64($data, $name);
}